/**
 * Created by 治谋 on 2014/7/10.
 */
$().ready(function () {
    $('.ts-colDropMenu').combobox({
        url: '${base}/col/getDropMenu.do',
        valueField: 'id',
        textField: 'title',
        filter:function(q,row){
            var opts=$(this).combobox("options");
            return row[opts.textField].toLowerCase().indexOf(q.toLowerCase()) >= 0;
        },
        formatter: function (row) {
            return row.indentTitle;
        }
    });
});


